<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TTimeClock类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_time_clock.html">TTimeClock</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_time_clock-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TTimeClock类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TTimeClock 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_time_clock.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae618335e448ba901528b84bdfab731c9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#ae618335e448ba901528b84bdfab731c9">TTimeClock</a> (long nativeObj)</td></tr>
<tr class="separator:ae618335e448ba901528b84bdfab731c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c23f37def11b493935f0511b0cb27f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a9c23f37def11b493935f0511b0cb27f5">setHour</a> (int hour)</td></tr>
<tr class="separator:a9c23f37def11b493935f0511b0cb27f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa53f25a168c9f0a7c516e115d021efe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aaa53f25a168c9f0a7c516e115d021efe">setMinute</a> (int minute)</td></tr>
<tr class="separator:aaa53f25a168c9f0a7c516e115d021efe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7042a94960b15cae23c4cca390452eda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a7042a94960b15cae23c4cca390452eda">setSecond</a> (int second)</td></tr>
<tr class="separator:a7042a94960b15cae23c4cca390452eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefe6d7c83657b4cb14614bebc12cc05a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aefe6d7c83657b4cb14614bebc12cc05a">setHourImage</a> (String hour)</td></tr>
<tr class="separator:aefe6d7c83657b4cb14614bebc12cc05a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac09ff05f2b3921de753673e5947c9417"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#ac09ff05f2b3921de753673e5947c9417">setMinuteImage</a> (String minute_image)</td></tr>
<tr class="separator:ac09ff05f2b3921de753673e5947c9417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3edf988dfcafff362a12d8dbcf6e9686"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a3edf988dfcafff362a12d8dbcf6e9686">setSecondImage</a> (String second_image)</td></tr>
<tr class="separator:a3edf988dfcafff362a12d8dbcf6e9686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b171ccd75eb6925b0f53e5bbc366203"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a3b171ccd75eb6925b0f53e5bbc366203">setBgImage</a> (String bg_image)</td></tr>
<tr class="separator:a3b171ccd75eb6925b0f53e5bbc366203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec0fce9f627454815c97a99561a66cc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aec0fce9f627454815c97a99561a66cc0">setImage</a> (String image)</td></tr>
<tr class="separator:aec0fce9f627454815c97a99561a66cc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9346070e0e5316da5ebc4f17062547"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a8c9346070e0e5316da5ebc4f17062547">setHourAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a8c9346070e0e5316da5ebc4f17062547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1586a31afc1d5fae6cc0d44440e5fd6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a1586a31afc1d5fae6cc0d44440e5fd6d">setMinuteAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a1586a31afc1d5fae6cc0d44440e5fd6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebda70b47feed9aaaf015c3a3af056e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aebda70b47feed9aaaf015c3a3af056e6">setSecondAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:aebda70b47feed9aaaf015c3a3af056e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999a2b7ffe1e4530539e7daa709de006"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a999a2b7ffe1e4530539e7daa709de006">getHour</a> ()</td></tr>
<tr class="separator:a999a2b7ffe1e4530539e7daa709de006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6fab97bda04c50f816896e0dc119ce"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a6a6fab97bda04c50f816896e0dc119ce">getMinute</a> ()</td></tr>
<tr class="separator:a6a6fab97bda04c50f816896e0dc119ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009cc4226cf3b62e65c943a7310ca1b6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a009cc4226cf3b62e65c943a7310ca1b6">getSecond</a> ()</td></tr>
<tr class="separator:a009cc4226cf3b62e65c943a7310ca1b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a551cc4396e3212c692f1979ccaae8d80"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a551cc4396e3212c692f1979ccaae8d80">getImage</a> ()</td></tr>
<tr class="separator:a551cc4396e3212c692f1979ccaae8d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b34b88e7a9083bfd5ada839d1e4113"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a17b34b88e7a9083bfd5ada839d1e4113">getBgImage</a> ()</td></tr>
<tr class="separator:a17b34b88e7a9083bfd5ada839d1e4113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12871147526d7c1f5437d1232c14e67a"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a12871147526d7c1f5437d1232c14e67a">getHourImage</a> ()</td></tr>
<tr class="separator:a12871147526d7c1f5437d1232c14e67a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1622959bf4413badbd8f7b1c671392c2"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a1622959bf4413badbd8f7b1c671392c2">getMinuteImage</a> ()</td></tr>
<tr class="separator:a1622959bf4413badbd8f7b1c671392c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37dccc44fd2b11bd26bd4edf948f5d1e"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a37dccc44fd2b11bd26bd4edf948f5d1e">getSecondImage</a> ()</td></tr>
<tr class="separator:a37dccc44fd2b11bd26bd4edf948f5d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5948c7c6d229498517112bf477f9f9a9"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a5948c7c6d229498517112bf477f9f9a9">getHourAnchorX</a> ()</td></tr>
<tr class="separator:a5948c7c6d229498517112bf477f9f9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44bbdaa77a587e10463f268bc12f3bfb"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a44bbdaa77a587e10463f268bc12f3bfb">getHourAnchorY</a> ()</td></tr>
<tr class="separator:a44bbdaa77a587e10463f268bc12f3bfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe912b85c785369a4c1665451ccf60e1"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#afe912b85c785369a4c1665451ccf60e1">getMinuteAnchorX</a> ()</td></tr>
<tr class="separator:afe912b85c785369a4c1665451ccf60e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6642a7af1ce443501e967472265b1808"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a6642a7af1ce443501e967472265b1808">getMinuteAnchorY</a> ()</td></tr>
<tr class="separator:a6642a7af1ce443501e967472265b1808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f787b94c0462dc9a51fd9e4923d6297"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a9f787b94c0462dc9a51fd9e4923d6297">getSecondAnchorX</a> ()</td></tr>
<tr class="separator:a9f787b94c0462dc9a51fd9e4923d6297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28afe7a7a47a3df2e36185e096aacb17"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#a28afe7a7a47a3df2e36185e096aacb17">getSecondAnchorY</a> ()</td></tr>
<tr class="separator:a28afe7a7a47a3df2e36185e096aacb17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:aae68379c38d417ddfdcff19d5fcba395"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_time_clock.html">TTimeClock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aae68379c38d417ddfdcff19d5fcba395">cast</a> (long nativeObj)</td></tr>
<tr class="separator:aae68379c38d417ddfdcff19d5fcba395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4670140c38d336d916041ca161e6e78"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#aa4670140c38d336d916041ca161e6e78">create</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:aa4670140c38d336d916041ca161e6e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb209e615b8fa0ba03ff81eb00f819d1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_time_clock.html">TTimeClock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_time_clock.html#afb209e615b8fa0ba03ff81eb00f819d1">cast</a> (TWidget widget)</td></tr>
<tr class="separator:afb209e615b8fa0ba03ff81eb00f819d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>模拟时钟控件。</p>
<p>time_clock_t是widget\_t的子类控件，widget_t的函数均适用于time_clock_t控件。</p>
<p>在xml中使用"time\_clock"标签创建模拟时钟控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">time_clock</span> <span class="keyword">x</span>=<span class="stringliteral">&quot;c&quot;</span> <span class="keyword">y</span>=<span class="stringliteral">&quot;m&quot;</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">h</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">bg_image</span>=<span class="stringliteral">&quot;clock_bg&quot;</span> <span class="keyword">image</span>=<span class="stringliteral">&quot;clock&quot;</span></div>
<div class="line">*<span class="keyword">hour_image</span>=<span class="stringliteral">&quot;clock_hour&quot;</span> <span class="keyword">minute_image</span>=<span class="stringliteral">&quot;clock_minute&quot;</span> <span class="keyword">second_image</span>=<span class="stringliteral">&quot;clock_second&quot;</span>/&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考：<a href="&lt;/blockquote&gt; https://github.com/zlgopen/awtk/blob/master/design/default/ui/time_clock.xml">time_clock.xml</a></p>
<p>在c代码中使用函数time_clock_create创建模拟时钟控件。如：</p>
<blockquote class="doxtable">
<p>完整示例请参考：<a href="&lt;/blockquote&gt; https://github.com/zlgopen/awtk-c-demos/blob/master/demos/time_clock.c">time_clock demo</a></p>
<p>time_clock一般不需要设置style。 </p>
</blockquote>
</blockquote>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae618335e448ba901528b84bdfab731c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae618335e448ba901528b84bdfab731c9">&#9670;&nbsp;</a></span>TTimeClock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TTimeClock.TTimeClock </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aae68379c38d417ddfdcff19d5fcba395"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae68379c38d417ddfdcff19d5fcba395">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_time_clock.html">TTimeClock</a> awtk.TTimeClock.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="afb209e615b8fa0ba03ff81eb00f819d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb209e615b8fa0ba03ff81eb00f819d1">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_time_clock.html">TTimeClock</a> awtk.TTimeClock.cast </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为time_clock对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>time_clock对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>time_clock对象。 </dd></dl>

</div>
</div>
<a id="aa4670140c38d336d916041ca161e6e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4670140c38d336d916041ca161e6e78">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TTimeClock.create </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建time_clock对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a17b34b88e7a9083bfd5ada839d1e4113"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17b34b88e7a9083bfd5ada839d1e4113">&#9670;&nbsp;</a></span>getBgImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getBgImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>背景图片。 </p>

</div>
</div>
<a id="a999a2b7ffe1e4530539e7daa709de006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999a2b7ffe1e4530539e7daa709de006">&#9670;&nbsp;</a></span>getHour()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TTimeClock.getHour </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>小时。 </p>

</div>
</div>
<a id="a5948c7c6d229498517112bf477f9f9a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5948c7c6d229498517112bf477f9f9a9">&#9670;&nbsp;</a></span>getHourAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getHourAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a44bbdaa77a587e10463f268bc12f3bfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44bbdaa77a587e10463f268bc12f3bfb">&#9670;&nbsp;</a></span>getHourAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getHourAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a12871147526d7c1f5437d1232c14e67a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12871147526d7c1f5437d1232c14e67a">&#9670;&nbsp;</a></span>getHourImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getHourImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片。 </p>

</div>
</div>
<a id="a551cc4396e3212c692f1979ccaae8d80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a551cc4396e3212c692f1979ccaae8d80">&#9670;&nbsp;</a></span>getImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>中心图片。 </p>

</div>
</div>
<a id="a6a6fab97bda04c50f816896e0dc119ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a6fab97bda04c50f816896e0dc119ce">&#9670;&nbsp;</a></span>getMinute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TTimeClock.getMinute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分钟。 </p>

</div>
</div>
<a id="afe912b85c785369a4c1665451ccf60e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe912b85c785369a4c1665451ccf60e1">&#9670;&nbsp;</a></span>getMinuteAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getMinuteAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a6642a7af1ce443501e967472265b1808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6642a7af1ce443501e967472265b1808">&#9670;&nbsp;</a></span>getMinuteAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getMinuteAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a1622959bf4413badbd8f7b1c671392c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1622959bf4413badbd8f7b1c671392c2">&#9670;&nbsp;</a></span>getMinuteImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getMinuteImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片。 </p>

</div>
</div>
<a id="a009cc4226cf3b62e65c943a7310ca1b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a009cc4226cf3b62e65c943a7310ca1b6">&#9670;&nbsp;</a></span>getSecond()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TTimeClock.getSecond </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒。 </p>

</div>
</div>
<a id="a9f787b94c0462dc9a51fd9e4923d6297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f787b94c0462dc9a51fd9e4923d6297">&#9670;&nbsp;</a></span>getSecondAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getSecondAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a28afe7a7a47a3df2e36185e096aacb17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28afe7a7a47a3df2e36185e096aacb17">&#9670;&nbsp;</a></span>getSecondAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getSecondAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a37dccc44fd2b11bd26bd4edf948f5d1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37dccc44fd2b11bd26bd4edf948f5d1e">&#9670;&nbsp;</a></span>getSecondImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TTimeClock.getSecondImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片。 </p>

</div>
</div>
<a id="a3b171ccd75eb6925b0f53e5bbc366203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b171ccd75eb6925b0f53e5bbc366203">&#9670;&nbsp;</a></span>setBgImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setBgImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>bg_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置背景图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bg_image</td><td>背景图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a9c23f37def11b493935f0511b0cb27f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c23f37def11b493935f0511b0cb27f5">&#9670;&nbsp;</a></span>setHour()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setHour </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hour</td><td>小时的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a8c9346070e0e5316da5ebc4f17062547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c9346070e0e5316da5ebc4f17062547">&#9670;&nbsp;</a></span>setHourAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setHourAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时指针的旋转锚点。 </p><blockquote class="doxtable">
<p>后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aefe6d7c83657b4cb14614bebc12cc05a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefe6d7c83657b4cb14614bebc12cc05a">&#9670;&nbsp;</a></span>setHourImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setHourImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>hour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hour</td><td>小时的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aec0fce9f627454815c97a99561a66cc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec0fce9f627454815c97a99561a66cc0">&#9670;&nbsp;</a></span>setImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置中心图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aaa53f25a168c9f0a7c516e115d021efe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa53f25a168c9f0a7c516e115d021efe">&#9670;&nbsp;</a></span>setMinute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setMinute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>minute</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">minute</td><td>分钟的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a1586a31afc1d5fae6cc0d44440e5fd6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1586a31afc1d5fae6cc0d44440e5fd6d">&#9670;&nbsp;</a></span>setMinuteAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setMinuteAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟指针的旋转锚点。 </p><blockquote class="doxtable">
<p>后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac09ff05f2b3921de753673e5947c9417"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac09ff05f2b3921de753673e5947c9417">&#9670;&nbsp;</a></span>setMinuteImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setMinuteImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>minute_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">minute_image</td><td>分钟的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a7042a94960b15cae23c4cca390452eda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7042a94960b15cae23c4cca390452eda">&#9670;&nbsp;</a></span>setSecond()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setSecond </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>second</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">second</td><td>秒的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aebda70b47feed9aaaf015c3a3af056e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebda70b47feed9aaaf015c3a3af056e6">&#9670;&nbsp;</a></span>setSecondAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setSecondAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒钟指针的旋转锚点。 </p><blockquote class="doxtable">
<p>后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a3edf988dfcafff362a12d8dbcf6e9686"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3edf988dfcafff362a12d8dbcf6e9686">&#9670;&nbsp;</a></span>setSecondImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TTimeClock.setSecondImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>second_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">second_image</td><td>秒的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TTimeClock.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
